home *** CD-ROM | disk | FTP | other *** search
- ; *******************************************************
- ; Example 1 - Get a reference to a specific form by name. In this case, submit a query
- ; to the Google search engine. Note that the names of the form and form
- ; elements can be found by viewing the page HTML source
- ; *******************************************************
- ;
- #include <IE.au3>
- $oIE = _IECreate ("http://www.google.com")
- $oForm = _IEFormGetObjByName ($oIE, "f")
- $oQuery = _IEFormElementGetObjByName ($oForm, "q")
- _IEFormElementSetValue ($oQuery, "AutoIt IE.au3")
- _IEFormSubmit ($oForm)